﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ImageModify.ascx.cs" Inherits="BackEnd_ImageModify" %>

<table class="toolbarchungall" cellspacing="1" cellpadding="1">    
    <tr>
        <td align="center" colspan="2">
            <asp:Label ID="lbMessage" runat="server" Width="100%" ForeColor="Red" Font-Bold="True"></asp:Label>
        </td>
    </tr>
    <tr>
        <td style="text-align: center">
            Hình ảnh :
            <br />
            <table>
                <tr>
                    <td class="holder" style="height: 110px; width: 100px">
                        <table>
                            <tr>
                                <td align="left">
                                    Hình ảnh cũ
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <img src="<%=nameImage%>" alt="chưa có" height="110px" width="100px" />
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <table>
                            <tr>
                                <td align="left">
                                    Hình ảnh mới
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Image ID="imageUpload" alt="chưa có" Height="110px" Width="100px"  runat="server" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td class="holder2" align="center">
            <input id="txtImage" type="text" width="250px" readonly="readonly" runat="server" />
            <%--<input id="bt1" type="button" value="Image" onclick="OpenWindowUploadFile('FileManagement/File.aspx?id=ctl111_NewsModify1_txtImage&idimg=ctl111_NewsModify1_imageUpload','window','width = 630px, height =520px');" />--%>
            <input id="Button1" type="button" value="Image" onclick="<%=this.onclick %>" />
        </td>
    </tr>
   <tr>
        <td class="toolbar btnLuu" colspan="2" align="center">
            <img src="Images/edit.gif" width="16px" height="16px" />
            <asp:LinkButton ID="cmdLuu" BorderColor="red" runat="server" Text="Lưu" ValidationGroup="LienHeGroup"
                OnClick="cmdLuu_Click"></asp:LinkButton>
        </td>
    </tr>
            
</table>
